class_name GameOverMenu
extends CanvasLayer

signal quit_requested
const MAIN_MENU_SCENE_PATH := "res://ui/main_menu/main_menu.tscn"

@onready var quit_button: Button = %QuitButton


var current_paused_peer: int = -1


func _ready():
	quit_button.pressed.connect(_on_quit_pressed)
	

	UIAudioManager.register_buttons([
		quit_button
		])



func _on_quit_pressed():
	get_tree().change_scene_to_file(MAIN_MENU_SCENE_PATH)
